<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<h2 id="current_period_title"> 年 月考核项目明细分值</h2>
<table class="display" id="current_period_details">
    <thead>
    <tr>
        <th><strong>考核项目</strong></th>
        <th>占比</th>
        <th>打分说明</th>
        <th>考核周期</th>
        <th>量化数字</th>
        <th>得分</th>
    </tr>
    </thead>
    <tbody>
    <s:if test="#request.details==null or #request.details.size() <= 0">
        <tr class="gradeX">
            <td colspan="8">暂无数据</td>
        </tr>
    </s:if>
    <s:else>
        <s:iterator value="#request.details" var="d" status="sta">
        <s:if test="#request.sta.even"> <tr class="gradeA"> </s:if> <s:else> <tr class="gradeC"> </s:else>
            <td>${d.examQuanItemSet.title}</td>
            <td><div id="progress1" class="progress"><span style="width: ${d.examQuanItemSet.percentage}%;"><b>${d.examQuanItemSet.percentage}%</b></span></div></td>
            <td>${d.examQuanItemSet.remark}</td>
            <td>${d.examQuanItemSet.periodType.name}</td>
            <td>${d.numeral}</td>
            <td style="text-align:center">${d.score}</td>
        </tr>
        </s:iterator>
    </s:else>
    <tr class="gradeX">
        <td>&nbsp;</td>
        <td style="text-align:right"><p style="font-weight:bold; font-size:16px">&nbsp;</p></td>
        <td style="text-align:right">&nbsp;</td>
        <td style="text-align:right">&nbsp;</td>
        <td style="text-align:right"><span style="font-weight:bold; font-size:16px">总分：</span></td>
        <td class="gradeX" style="text-align:center"><p style="font-weight:bold; font-size:16px" id="current_period_score">84.6</p></td>
    </tr>
    </tbody>
</table>
</div>
<h4>&nbsp;</h4>